import 'package:car_baidu/ui/page/home/home.dart';
import 'package:car_baidu/ui/page/mine/mine.dart';
import 'package:car_baidu/ui/page/runner/runner.dart';
import 'package:car_baidu/ui/page/service/service.dart';
import 'package:car_baidu/ui/page/shopping/shopping.dart';
import 'package:flutter/cupertino.dart';

import '../../shared/px/int_extentsion.dart';

final List<Widget> pages = [
  LLHomeScreen(),
  LLRunnerScreen(),
  LLShoppingScreen(),
  LLServiceScreen(),
  LLMineScreen(),
];

final List<BottomNavigationBarItem> bottomItems = [
  BottomNavigationBarItem(
    icon: Image.asset(
      "asset/image/home.png",
      width: 30.px,
    ),
    activeIcon: Image.asset(
      "asset/image/home_selected.png",
      width: 30.px,
    ),
    label: "首页",
  ),
  BottomNavigationBarItem(
      icon: Image.asset(
        "asset/image/runner.png",
        width: 30.px,
      ),
      activeIcon: Image.asset(
        "asset/image/runner_selected.png",
        width: 30.px,
      ),
      label: "行者"),
  BottomNavigationBarItem(
      icon: Image.asset(
        "asset/image/shop.png",
        width: 30.px,
      ),
      activeIcon: Image.asset(
        "asset/image/shop_selected.png",
        width: 30.px,
      ),
      label: "商城"),
  BottomNavigationBarItem(
      icon: Image.asset(
        "asset/image/service.png",
        width: 30.px,
      ),
      activeIcon: Image.asset(
        "asset/image/service_selected.png",
        width: 30.px,
      ),
      label: "服务"),
  BottomNavigationBarItem(
      icon: Image.asset(
        "asset/image/mine.png",
        width: 30.px,
      ),
      activeIcon: Image.asset(
        "asset/image/mine_selected.png",
        width: 30.px,
      ),
      label: "我的"),
];
